function giveMoney(p, amount)
	givePlayerMoney(p,amount)
end

addEvent("serverGiveMoney", true)
addEventHandler("serverGiveMoney", getRootElement(), giveMoney)